CameraExposureLock

Camera exposure lock.

Allows to lock/unlock the exposure according to a given mode.

Types

Link copied to clipboard
enum Mode
Exposure lock mode.

Functions

Link copied to clipboard
@FloatRange(from = 0.0, to = 1.0)
abstract fun getRegionCenterX(): Double
Horizontal center of region of interest where exposure is locked.
Link copied to clipboard
@FloatRange(from = 0.0, to = 1.0)
abstract fun getRegionCenterY(): Double
Vertical center of region of interest where exposure is locked.
Link copied to clipboard
@FloatRange(from = 0.0, to = 1.0)
abstract fun getRegionHeight(): Double
Height of region of interest where exposure is locked.
Link copied to clipboard
@FloatRange(from = 0.0, to = 1.0)
abstract fun getRegionWidth(): Double
Width of region of interest where exposure is locked.
Link copied to clipboard
abstract fun isUpdating(): Boolean
Tells whether mode has been changed and is waiting for change confirmation.
Link copied to clipboard
abstract fun lockCurrentValues()
Requests lock of exposure on current exposure values.
Link copied to clipboard
abstract fun lockOnRegion(@FloatRange(from = 0.0, to = 1.0) centerX: Double, @FloatRange(from = 0.0, to = 1.0) centerY: Double)
Requests lock of exposure on a given region of interest (taken from the video stream).
Link copied to clipboard
Gets current lock mode.
Link copied to clipboard
abstract fun unlock()
Requests exposure unlock.